
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>首页</title>
      <!-- 新 Bootstrap 核心 CSS 文件 -->
      <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
      <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
      <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
      <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
      <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
      <style type="text/css" >
          #box_relative {
              position: relative;
              top: -19px;
          }
          .carousel .item {
              height: 500px;
              background-color: #777;
          }
          .carousel-inner > .item > img {
              position: absolute;
              top: 0;
              left: 0;
              min-width: 100%;
              height: 500px;
          }

      </style>
  </head>
  <body>
  <nav class="navbar navbar-default">
      <div class="container-fluid">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
              <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                  <span class="sr-only">Toggle navigation</span>
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
              </button>
              <a class="navbar-brand glyphicon glyphicon-education" href="#"></a>
          </div>
          <p class="navbar-text">在线课堂系统</p>
          <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
              <ul class="nav navbar-nav">
                  <p class="navbar-text"> &nbsp; &nbsp; &nbsp; &nbsp;分类</p>
                  <li class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">课程<span class="caret"></span></a>
                      <ul class="dropdown-menu">
                          <li><a href="https://www.bilibili.com/video/BV1wT4y127Lu?spm_id_from=333.337.search-card.all.click">408</a></li>
                          <li><a href="https://space.bilibili.com/276503296">数学</a></li>
                          <li><a href="https://space.bilibili.com/476525925">政治</a></li>
                          <li role="separator" class="divider"></li>
                          <li><a href="https://space.bilibili.com/477547279">四六级</a></li>
                          <li role="separator" class="divider"></li>
                          <li><a href="https://space.bilibili.com/95256449">遇见狂神说</a></li>
                      </ul>
                  </li>
              </ul>
              <form class="navbar-form navbar-left">
                  <div class="form-group">
                      <input type="text" class="form-control" placeholder="Search">
                  </div>
                  <button type="submit" class="btn btn-default">搜索</button>
              </form>
              <ul class="nav navbar-nav navbar-right">
                  <li><a href="/admin/jumpLogin">管理员登录</a></li>
                  <li><a href="/login2">教师登录</a></li>
                  <li><a href="/student/queryAll">学生登录</a></li>
              </ul>
          </div><!-- /.navbar-collapse -->
      </div><!-- /.container-fluid -->
  </nav>

  <div class="container-fluid " id="box_relative">
      <div class="row">
          <div class="col-md-1"></div>
          <div class="col-md-10">
<%--              <img src="static/background.jpg" width="100%" height="400px">--%>
                <div id="myCarousel" class="carousel slide" >
        <!-- 轮播（Carousel）指标 -->
                    <ol class="carousel-indicators">
                        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
                        <li data-target="#myCarousel" data-slide-to="1"></li>
                        <li data-target="#myCarousel" data-slide-to="2"></li>
                    </ol>
                    <!-- 轮播（Carousel）项目 -->
                    <div class="carousel-inner">
                        <div class="item active">
                            <img src="${pageContext.request.contextPath}/static/background.jpg" alt="First slide" height="60%">
                        </div>
                        <div class="item">
                            <img src="${pageContext.request.contextPath}/static/background.jpg" alt="Second slide" height="60%">
                        </div>
                        <div class="item">
                            <img src="${pageContext.request.contextPath}/static/background.jpg" alt="Third slide" height="60%">
                        </div>
                    </div>
                    <!-- 轮播（Carousel）导航 -->
                    <a class="carousel-control left" href="#myCarousel"
                       data-slide="prev"> <span _ngcontent-c3="" aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span></a>
                    <a class="carousel-control right" href="#myCarousel"
                       data-slide="next">&rsaquo;</a>
    </div>
          </div>
          <div class="col-md-1"></div>
      </div>
  </div>
  <nav class="navbar navbar-default" style="margin-bottom: 0;">
      <p style="text-align: center;">Welcome to</p>
      <p style="text-align: center;">${initParam.copyright}</p>
  </nav>
  </body>
</html>
